// 定义读者数据模型
const Sequelize = require('sequelize');
module.exports = (sequelize) => {
    var Reader = sequelize.define('reader', {
        name: { type: Sequelize.STRING },
        mobile: { type: Sequelize.STRING },
        email: {
            type: Sequelize.STRING
        }
    }, {
        freezeTableName: true,
        TimeRanges: false
    });
    return Reader;
};